package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户钱包表 Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name="user_wallet")
public class UserWalletInfo extends BaseEntity{
    /*
      `user_id` varchar(64) DEFAULT NULL COMMENT '用户id',
      `available_dlb` decimal(10,3) DEFAULT NULL COMMENT '可用的dlb',
      `unlock_dlb` decimal(10,3) DEFAULT NULL COMMENT '解锁中dlb',
      `lock_dlb` decimal(10,3) DEFAULT NULL COMMENT '已锁定dlb',
     */
    private static final long serialVersionUID = 1L;
    private String userId;                  // 用户id
    private Double lockDlb;                    // 已锁定dlb
    private Double availableDlb;              // 可用的dlb
    private Double unlockDlb;                    // 已锁定dlb

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Double getLockDlb() {
        return lockDlb;
    }

    public void setLockDlb(Double lockDlb) {
        this.lockDlb = lockDlb;
    }

    public Double getAvailableDlb() {
        return availableDlb;
    }

    public void setAvailableDlb(Double availableDlb) {
        this.availableDlb = availableDlb;
    }

    public Double getUnlockDlb() {
        return unlockDlb;
    }

    public void setUnlockDlb(Double unlockDlb) {
        this.unlockDlb = unlockDlb;
    }
}